package com.wanjia.bpsapi.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 成本换算关系表
 * </p>
 *
 * @author wyn
 * @since 2023-02-13
 */
@TableName("vege_param")
@Schema(title ="VegeParam对象", description = "成本换算关系表")
@Data
public class VegeParam implements Serializable {

    @Schema(title = "ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(title = "菜品ID")
    private Long vegeId;

    @Schema(title = "参数ID")
    private Long paramId;

    @Schema(title = "耗材换算系数")
    private BigDecimal conversion;

    @Schema(title = "备注")
    private String comment;
}
